Ryan Tandy [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
Merge openldap (2.4.47+dfsg-3) import into refs/heads/workingbranch
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
no-gnutls_global_set_mutex
Gbp-Pq: Name no-gnutls_global_set_mutex
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
set-maintainer-name
Gbp-Pq: Name set-maintainer-name
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
ITS6035-olcauthzregex-needs-restart
Gbp-Pq: Name ITS6035-olcauthzregex-needs-restart.patch
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
no-bdb-ABI-second-guessing
Gbp-Pq: Name no-bdb-ABI-second-guessing
Jan-Marek Glogowski [Tue, 18 May 2010 15:47:05 +0000 (17:47 +0200)]
Switch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all modules with RTLD_GLOBAL, needed so that back_perl can load non-trivial Perl extensions that require symbols from back_perl.so itself.
Gbp-Pq: Name switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
no-AM_INIT_AUTOMAKE
Gbp-Pq: Name no-AM_INIT_AUTOMAKE
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
fix-build-top-mk
Gbp-Pq: Name fix-build-top-mk
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
add-tlscacert-option-to-ldap-conf
Gbp-Pq: Name add-tlscacert-option-to-ldap-conf
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
ldap-conf-tls-cacertdir
Gbp-Pq: Name ldap-conf-tls-cacertdir
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
lastbind-makefile-manpage
Gbp-Pq: Name lastbind-makefile-manpage
Peter Marschall [Sun, 26 Jul 2015 13:04:26 +0000 (15:04 +0200)]
contrib/smbk5pwd: add man page, install it too
Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
install the new manual page.
This patch is derived from the corresponding patch upstreamed in ITS#8205
Gbp-Pq: Name smbk5pwd-makefile-manpage
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
contrib-makefiles
Gbp-Pq: Name contrib-makefiles
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
do-not-second-guess-sonames
Rip out code that second-guesses the libsasl soname / Debian shlibs. If
cyrus sasl upstream is breaking the ABI, this needs to be fixed upstream
there, not kludged around upstream here!
Debian bug #546885
Upstream ITS #6302 filed.
Gbp-Pq: Name do-not-second-guess-sonames
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
getaddrinfo-is-threadsafe
OpenLDAP upstream conservatively assumes that certain resolver functions
(getaddrinfo, getnameinfo, res_query, dn_expand) are not re-entrant; but we
know that the glibc implementations of these functions are thread-safe, so
we should bypass the use of this mutex. This fixes a locking problem when
an application uses libldap and libnss-ldap is also used for hosts
resolution.
Closes Debian bug #340601.
Not suitable for forwarding upstream; might be made suitable by adding a
configure-time check for glibc and disabling the mutex only on known
thread-safe implementations.
Gbp-Pq: Name getaddrinfo-is-threadsafe
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
libldap-symbol-versions
Add symbol versioning to the public LDAP libraries. This is required for
library transitions, such as the current transition from 2.1 to 2.4,
since programs will sometimes have both libraries loaded by different
dependency chains during the transition.
Not yet contributed upstream.
Upstream ITS #5365 filed requesting symbol versioning for libldap and
libber.
Gbp-Pq: Name libldap-symbol-versions
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
sasl-default-path
Add /etc/ldap/sasl2 to the SASL configuration search path.
Not submitted upstream. Somewhat Debian-specific and probably not of
interest upstream.
Gbp-Pq: Name sasl-default-path
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
index-files-created-as-root
Document in the man page that slapindex should be run as the same user
as slapd, and print a warning if it's run as root (since Debian defaults
to running slapd as openldap).
Not suitable for upstream in this form. This patch needs to be reworked
to check the BerkeleyDB database ownership and only warn if running as
root with a database that's not owned by root.
Upstream ITS #5356 filed requesting better handling of this. Current
upstream discussion leans towards putting the check into the database
backend and aborting if slapd is run as a different user than the database
owner, which is an even better fix.
Gbp-Pq: Name index-files-created-as-root
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
wrong-database-location
Move the default slapd database location to /var/lib/ldap instead of
/var/openldap-data.
Debian-specific.
Gbp-Pq: Name wrong-database-location
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
ldapi-socket-place
Move the ldapi socket to /var/run/slapd from /var/run, since /var/run
is only writable by root and slapd runs as openldap.
Debian-specific.
Gbp-Pq: Name ldapi-socket-place
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
slapi-errorlog-file
The slapi error log file defaults to /var/errors given our setting
of --localstatedir. Move it to /var/log/slapi-errors instead.
Debian-specific.
Gbp-Pq: Name slapi-errorlog-file
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
evolution-ntlm
Patch from evolution-exchange (2.10.3). The ldap_ntlm_bind function is
actually called by evolution-data-server, checked at version 1.12.2.
Without this patch, the Exchange addressbook integration uses simple binds
with cleartext passwords.
Russ checked with openldap-software for upstream's opinion on this patch
on 2007-12-21. Upstream had never received it as a patch submission and
given that it's apparently only for older Exchange servers that can't do
SASL and DIGEST-MD5, it's not very appealing.
Bug#457374 filed against evolution-data-server asking if this support is
still required on 2007-12-21.
Gbp-Pq: Name evolution-ntlm
Debian OpenLDAP Maintainers [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
man-slapd
Patch the slapd man page to not refer to a header file that isn't
installed with the slapd package and to reference the correct path
for slapd.
Debian-specific.
Gbp-Pq: Name man-slapd
Ryan Tandy [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
openldap (2.4.47+dfsg-3) unstable; urgency=medium
* Restore patches to contrib Makefiles to set CFLAGS, CPPFLAGS, and LDFLAGS
individually in the relevant command lines instead of overriding OPT. The
change to use OPT caused FTBFS on some ports arches where PIE enablement
uses spec files, by mixing compile-time and link-time flags.
(Closes: #919136)
* Fix architecture-specific path in smbk5pwd's binary-or-shlib-defines-rpath
Lintian override.
* Skip exporting cn=config to LDIF in preinst for upgrades where nothing
needs to be checked in it.
* Update Standards-Version to 4.3.0.
[dgit import unpatched openldap 2.4.47+dfsg-3]
Ryan Tandy [Sat, 2 Feb 2019 18:30:10 +0000 (18:30 +0000)]
Import openldap_2.4.47+dfsg-3.debian.tar.xz
[dgit import tarball openldap 2.4.47+dfsg-3 openldap_2.4.47+dfsg-3.debian.tar.xz]
Ryan Tandy [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
Merge openldap (2.4.47+dfsg-2) import into refs/heads/workingbranch
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
no-gnutls_global_set_mutex
Gbp-Pq: Name no-gnutls_global_set_mutex
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
set-maintainer-name
Gbp-Pq: Name set-maintainer-name
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
ITS6035-olcauthzregex-needs-restart
Gbp-Pq: Name ITS6035-olcauthzregex-needs-restart.patch
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
no-bdb-ABI-second-guessing
Gbp-Pq: Name no-bdb-ABI-second-guessing
Jan-Marek Glogowski [Tue, 18 May 2010 15:47:05 +0000 (17:47 +0200)]
Switch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all modules with RTLD_GLOBAL, needed so that back_perl can load non-trivial Perl extensions that require symbols from back_perl.so itself.
Gbp-Pq: Name switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
no-AM_INIT_AUTOMAKE
Gbp-Pq: Name no-AM_INIT_AUTOMAKE
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
fix-build-top-mk
Gbp-Pq: Name fix-build-top-mk
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
add-tlscacert-option-to-ldap-conf
Gbp-Pq: Name add-tlscacert-option-to-ldap-conf
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
ldap-conf-tls-cacertdir
Gbp-Pq: Name ldap-conf-tls-cacertdir
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
lastbind-makefile-manpage
Gbp-Pq: Name lastbind-makefile-manpage
Peter Marschall [Sun, 26 Jul 2015 13:04:26 +0000 (15:04 +0200)]
contrib/smbk5pwd: add man page, install it too
Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
install the new manual page.
This patch is derived from the corresponding patch upstreamed in ITS#8205
Gbp-Pq: Name smbk5pwd-makefile-manpage
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
contrib-makefiles
Gbp-Pq: Name contrib-makefiles
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
do-not-second-guess-sonames
Rip out code that second-guesses the libsasl soname / Debian shlibs. If
cyrus sasl upstream is breaking the ABI, this needs to be fixed upstream
there, not kludged around upstream here!
Debian bug #546885
Upstream ITS #6302 filed.
Gbp-Pq: Name do-not-second-guess-sonames
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
getaddrinfo-is-threadsafe
OpenLDAP upstream conservatively assumes that certain resolver functions
(getaddrinfo, getnameinfo, res_query, dn_expand) are not re-entrant; but we
know that the glibc implementations of these functions are thread-safe, so
we should bypass the use of this mutex. This fixes a locking problem when
an application uses libldap and libnss-ldap is also used for hosts
resolution.
Closes Debian bug #340601.
Not suitable for forwarding upstream; might be made suitable by adding a
configure-time check for glibc and disabling the mutex only on known
thread-safe implementations.
Gbp-Pq: Name getaddrinfo-is-threadsafe
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
libldap-symbol-versions
Add symbol versioning to the public LDAP libraries. This is required for
library transitions, such as the current transition from 2.1 to 2.4,
since programs will sometimes have both libraries loaded by different
dependency chains during the transition.
Not yet contributed upstream.
Upstream ITS #5365 filed requesting symbol versioning for libldap and
libber.
Gbp-Pq: Name libldap-symbol-versions
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
sasl-default-path
Add /etc/ldap/sasl2 to the SASL configuration search path.
Not submitted upstream. Somewhat Debian-specific and probably not of
interest upstream.
Gbp-Pq: Name sasl-default-path
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
index-files-created-as-root
Document in the man page that slapindex should be run as the same user
as slapd, and print a warning if it's run as root (since Debian defaults
to running slapd as openldap).
Not suitable for upstream in this form. This patch needs to be reworked
to check the BerkeleyDB database ownership and only warn if running as
root with a database that's not owned by root.
Upstream ITS #5356 filed requesting better handling of this. Current
upstream discussion leans towards putting the check into the database
backend and aborting if slapd is run as a different user than the database
owner, which is an even better fix.
Gbp-Pq: Name index-files-created-as-root
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
wrong-database-location
Move the default slapd database location to /var/lib/ldap instead of
/var/openldap-data.
Debian-specific.
Gbp-Pq: Name wrong-database-location
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
ldapi-socket-place
Move the ldapi socket to /var/run/slapd from /var/run, since /var/run
is only writable by root and slapd runs as openldap.
Debian-specific.
Gbp-Pq: Name ldapi-socket-place
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
slapi-errorlog-file
The slapi error log file defaults to /var/errors given our setting
of --localstatedir. Move it to /var/log/slapi-errors instead.
Debian-specific.
Gbp-Pq: Name slapi-errorlog-file
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
evolution-ntlm
Patch from evolution-exchange (2.10.3). The ldap_ntlm_bind function is
actually called by evolution-data-server, checked at version 1.12.2.
Without this patch, the Exchange addressbook integration uses simple binds
with cleartext passwords.
Russ checked with openldap-software for upstream's opinion on this patch
on 2007-12-21. Upstream had never received it as a patch submission and
given that it's apparently only for older Exchange servers that can't do
SASL and DIGEST-MD5, it's not very appealing.
Bug#457374 filed against evolution-data-server asking if this support is
still required on 2007-12-21.
Gbp-Pq: Name evolution-ntlm
Debian OpenLDAP Maintainers [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
man-slapd
Patch the slapd man page to not refer to a header file that isn't
installed with the slapd package and to reference the correct path
for slapd.
Debian-specific.
Gbp-Pq: Name man-slapd
Ryan Tandy [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
openldap (2.4.47+dfsg-2) unstable; urgency=medium
* Reintroduce slapi-dev binary package. (Closes: #711469)
Thanks to Florian Schlichting.
* Do not call gnutls_global_set_mutex(). (Closes: #803197)
* Use dh_auto_* to build and install contrib modules.
- Stop patching the clean rule in smbk5pwd's Makefile.
* Explicitly list overlays and man pages installed by slapd package in
slapd.install and slapd.manpages files.
* Set common variables for contrib Makefiles by make(1) command line instead
of patching every Makefile.
* Build and install more contrib plugins in a new slapd-contrib package:
- pw-apr1 and pw-netscape (Closes: #592362)
- pw-pbkdf2 (Closes: #794999)
* Import the slapo-pw-pbkdf2 man page from upstream git master and install
it with the slapd-contrib package.
* Add smbk5pwd to slapd-contrib and turn slapd-smbk5pwd into a transitional
package. Drop smbk5pwd README since it now has a man page which is a
better resource for users.
- Use Breaks to ensure that slapd is not upgraded in between removing the
old smbk5pwd module and installing the new one.
* Include the apr1-atol.pl and apr1-lota.pl helper scripts in the
slapd-contrib package as examples.
* Merge remaining contrib Makefile patches into a single contrib-makefiles
patch.
[dgit import unpatched openldap 2.4.47+dfsg-2]
Ryan Tandy [Sat, 12 Jan 2019 19:18:03 +0000 (19:18 +0000)]
Import openldap_2.4.47+dfsg-2.debian.tar.xz
[dgit import tarball openldap 2.4.47+dfsg-2 openldap_2.4.47+dfsg-2.debian.tar.xz]
Ryan Tandy [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
Import openldap_2.4.47+dfsg.orig.tar.gz
[dgit import orig openldap_2.4.47+dfsg.orig.tar.gz]
Ryan Tandy [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
Merge openldap (2.4.47+dfsg-1) import into refs/heads/workingbranch
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
set-maintainer-name
Gbp-Pq: Name set-maintainer-name
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
ITS6035-olcauthzregex-needs-restart
Gbp-Pq: Name ITS6035-olcauthzregex-needs-restart.patch
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
no-bdb-ABI-second-guessing
Gbp-Pq: Name no-bdb-ABI-second-guessing
Jan-Marek Glogowski [Tue, 18 May 2010 15:47:05 +0000 (17:47 +0200)]
Switch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all modules with RTLD_GLOBAL, needed so that back_perl can load non-trivial Perl extensions that require symbols from back_perl.so itself.
Gbp-Pq: Name switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
no-AM_INIT_AUTOMAKE
Gbp-Pq: Name no-AM_INIT_AUTOMAKE
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
fix-build-top-mk
Gbp-Pq: Name fix-build-top-mk
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
add-tlscacert-option-to-ldap-conf
Gbp-Pq: Name add-tlscacert-option-to-ldap-conf
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
ldap-conf-tls-cacertdir
Gbp-Pq: Name ldap-conf-tls-cacertdir
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
pw-sha2-makefile
Gbp-Pq: Name pw-sha2-makefile
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
lastbind-makefile-manpage
Gbp-Pq: Name lastbind-makefile-manpage
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
lastbind-makefile
Gbp-Pq: Name lastbind-makefile
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
autogroup-makefile
Gbp-Pq: Name autogroup-makefile
Peter Marschall [Sun, 26 Jul 2015 13:04:26 +0000 (15:04 +0200)]
contrib/smbk5pwd: add man page, install it too
Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
install the new manual page.
This patch is derived from the corresponding patch upstreamed in ITS#8205
Gbp-Pq: Name smbk5pwd-makefile-manpage
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
smbk5pwd-makefile
Gbp-Pq: Name smbk5pwd-makefile
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
contrib-modules-use-dpkg-buildflags
Gbp-Pq: Name contrib-modules-use-dpkg-buildflags
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
do-not-second-guess-sonames
Rip out code that second-guesses the libsasl soname / Debian shlibs. If
cyrus sasl upstream is breaking the ABI, this needs to be fixed upstream
there, not kludged around upstream here!
Debian bug #546885
Upstream ITS #6302 filed.
Gbp-Pq: Name do-not-second-guess-sonames
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
getaddrinfo-is-threadsafe
OpenLDAP upstream conservatively assumes that certain resolver functions
(getaddrinfo, getnameinfo, res_query, dn_expand) are not re-entrant; but we
know that the glibc implementations of these functions are thread-safe, so
we should bypass the use of this mutex. This fixes a locking problem when
an application uses libldap and libnss-ldap is also used for hosts
resolution.
Closes Debian bug #340601.
Not suitable for forwarding upstream; might be made suitable by adding a
configure-time check for glibc and disabling the mutex only on known
thread-safe implementations.
Gbp-Pq: Name getaddrinfo-is-threadsafe
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
libldap-symbol-versions
Add symbol versioning to the public LDAP libraries. This is required for
library transitions, such as the current transition from 2.1 to 2.4,
since programs will sometimes have both libraries loaded by different
dependency chains during the transition.
Not yet contributed upstream.
Upstream ITS #5365 filed requesting symbol versioning for libldap and
libber.
Gbp-Pq: Name libldap-symbol-versions
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
sasl-default-path
Add /etc/ldap/sasl2 to the SASL configuration search path.
Not submitted upstream. Somewhat Debian-specific and probably not of
interest upstream.
Gbp-Pq: Name sasl-default-path
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
index-files-created-as-root
Document in the man page that slapindex should be run as the same user
as slapd, and print a warning if it's run as root (since Debian defaults
to running slapd as openldap).
Not suitable for upstream in this form. This patch needs to be reworked
to check the BerkeleyDB database ownership and only warn if running as
root with a database that's not owned by root.
Upstream ITS #5356 filed requesting better handling of this. Current
upstream discussion leans towards putting the check into the database
backend and aborting if slapd is run as a different user than the database
owner, which is an even better fix.
Gbp-Pq: Name index-files-created-as-root
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
wrong-database-location
Move the default slapd database location to /var/lib/ldap instead of
/var/openldap-data.
Debian-specific.
Gbp-Pq: Name wrong-database-location
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
ldapi-socket-place
Move the ldapi socket to /var/run/slapd from /var/run, since /var/run
is only writable by root and slapd runs as openldap.
Debian-specific.
Gbp-Pq: Name ldapi-socket-place
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
slapi-errorlog-file
The slapi error log file defaults to /var/errors given our setting
of --localstatedir. Move it to /var/log/slapi-errors instead.
Debian-specific.
Gbp-Pq: Name slapi-errorlog-file
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
evolution-ntlm
Patch from evolution-exchange (2.10.3). The ldap_ntlm_bind function is
actually called by evolution-data-server, checked at version 1.12.2.
Without this patch, the Exchange addressbook integration uses simple binds
with cleartext passwords.
Russ checked with openldap-software for upstream's opinion on this patch
on 2007-12-21. Upstream had never received it as a patch submission and
given that it's apparently only for older Exchange servers that can't do
SASL and DIGEST-MD5, it's not very appealing.
Bug#457374 filed against evolution-data-server asking if this support is
still required on 2007-12-21.
Gbp-Pq: Name evolution-ntlm
Debian OpenLDAP Maintainers [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
man-slapd
Patch the slapd man page to not refer to a header file that isn't
installed with the slapd package and to reference the correct path
for slapd.
Debian-specific.
Gbp-Pq: Name man-slapd
Ryan Tandy [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
openldap (2.4.47+dfsg-1) unstable; urgency=medium
* New upstream release.
- reverted GnuTLS handshake change in libldap as it regressed slapd
(Reopens: #861838)
* Update Standards-Version to 4.2.1.
[dgit import unpatched openldap 2.4.47+dfsg-1]
Ryan Tandy [Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)]
Import openldap_2.4.47+dfsg-1.debian.tar.xz
[dgit import tarball openldap 2.4.47+dfsg-1 openldap_2.4.47+dfsg-1.debian.tar.xz]
Ryan Tandy [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
Merge openldap (2.4.46+dfsg-5) import into refs/heads/workingbranch
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
set-maintainer-name
Gbp-Pq: Name set-maintainer-name
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
ITS6035-olcauthzregex-needs-restart
Gbp-Pq: Name ITS6035-olcauthzregex-needs-restart.patch
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
no-bdb-ABI-second-guessing
Gbp-Pq: Name no-bdb-ABI-second-guessing
Jan-Marek Glogowski [Tue, 18 May 2010 15:47:05 +0000 (17:47 +0200)]
Switch to lt_dlopenadvise() so back_perl can be opened with RTLD_GLOBAL. Open all modules with RTLD_GLOBAL, needed so that back_perl can load non-trivial Perl extensions that require symbols from back_perl.so itself.
Gbp-Pq: Name switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
no-AM_INIT_AUTOMAKE
Gbp-Pq: Name no-AM_INIT_AUTOMAKE
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
fix-build-top-mk
Gbp-Pq: Name fix-build-top-mk
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
add-tlscacert-option-to-ldap-conf
Gbp-Pq: Name add-tlscacert-option-to-ldap-conf
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
ldap-conf-tls-cacertdir
Gbp-Pq: Name ldap-conf-tls-cacertdir
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
pw-sha2-makefile
Gbp-Pq: Name pw-sha2-makefile
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
lastbind-makefile-manpage
Gbp-Pq: Name lastbind-makefile-manpage
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
lastbind-makefile
Gbp-Pq: Name lastbind-makefile
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
autogroup-makefile
Gbp-Pq: Name autogroup-makefile
Peter Marschall [Sun, 26 Jul 2015 13:04:26 +0000 (15:04 +0200)]
contrib/smbk5pwd: add man page, install it too
Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
install the new manual page.
This patch is derived from the corresponding patch upstreamed in ITS#8205
Gbp-Pq: Name smbk5pwd-makefile-manpage
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
smbk5pwd-makefile
Gbp-Pq: Name smbk5pwd-makefile
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
contrib-modules-use-dpkg-buildflags
Gbp-Pq: Name contrib-modules-use-dpkg-buildflags
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
do-not-second-guess-sonames
Rip out code that second-guesses the libsasl soname / Debian shlibs. If
cyrus sasl upstream is breaking the ABI, this needs to be fixed upstream
there, not kludged around upstream here!
Debian bug #546885
Upstream ITS #6302 filed.
Gbp-Pq: Name do-not-second-guess-sonames
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
getaddrinfo-is-threadsafe
OpenLDAP upstream conservatively assumes that certain resolver functions
(getaddrinfo, getnameinfo, res_query, dn_expand) are not re-entrant; but we
know that the glibc implementations of these functions are thread-safe, so
we should bypass the use of this mutex. This fixes a locking problem when
an application uses libldap and libnss-ldap is also used for hosts
resolution.
Closes Debian bug #340601.
Not suitable for forwarding upstream; might be made suitable by adding a
configure-time check for glibc and disabling the mutex only on known
thread-safe implementations.
Gbp-Pq: Name getaddrinfo-is-threadsafe
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
libldap-symbol-versions
Add symbol versioning to the public LDAP libraries. This is required for
library transitions, such as the current transition from 2.1 to 2.4,
since programs will sometimes have both libraries loaded by different
dependency chains during the transition.
Not yet contributed upstream.
Upstream ITS #5365 filed requesting symbol versioning for libldap and
libber.
Gbp-Pq: Name libldap-symbol-versions
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
sasl-default-path
Add /etc/ldap/sasl2 to the SASL configuration search path.
Not submitted upstream. Somewhat Debian-specific and probably not of
interest upstream.
Gbp-Pq: Name sasl-default-path
Debian OpenLDAP Maintainers [Fri, 4 May 2018 23:12:27 +0000 (00:12 +0100)]
index-files-created-as-root
Document in the man page that slapindex should be run as the same user
as slapd, and print a warning if it's run as root (since Debian defaults
to running slapd as openldap).
Not suitable for upstream in this form. This patch needs to be reworked
to check the BerkeleyDB database ownership and only warn if running as
root with a database that's not owned by root.
Upstream ITS #5356 filed requesting better handling of this. Current
upstream discussion leans towards putting the check into the database
backend and aborting if slapd is run as a different user than the database
owner, which is an even better fix.
Gbp-Pq: Name index-files-created-as-root